package vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Teacher entity. @author MyEclipse Persistence Tools
 */

public class Teacher implements java.io.Serializable {

	// Fields

	private Long id;
	private Academy academy;
	private String name;
	private String sex;
	private Date birthday;
	private String job;
	private Date endate;
	private String phone;
	private String email;
	private String password;
	private Set selectCourses = new HashSet(0);

	// Constructors

	/** default constructor */
	public Teacher() {
	}

	/** minimal constructor */
	public Teacher(String name, String sex, Date birthday, String job,
			Date endate, String password) {
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.job = job;
		this.endate = endate;
		this.password = password;
	}

	/** full constructor */
	public Teacher(Academy academy, String name, String sex, Date birthday,
			String job, Date endate, String phone, String email,
			String password, Set selectCourses) {
		this.academy = academy;
		this.name = name;
		this.sex = sex;
		this.birthday = birthday;
		this.job = job;
		this.endate = endate;
		this.phone = phone;
		this.email = email;
		this.password = password;
		this.selectCourses = selectCourses;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Academy getAcademy() {
		return this.academy;
	}

	public void setAcademy(Academy academy) {
		this.academy = academy;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getJob() {
		return this.job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Date getEndate() {
		return this.endate;
	}

	public void setEndate(Date endate) {
		this.endate = endate;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Set getSelectCourses() {
		return this.selectCourses;
	}

	public void setSelectCourses(Set selectCourses) {
		this.selectCourses = selectCourses;
	}

}